spaceport = xroom {
	forcedsc = true;
	nam = 'Космопорт';
	dsc = function() return('Вы находитесь в космопорте города '..player.city..', на планете '..player.planet..'.'); end;
	xdsc = function()
		for i=1, table.maxn(planets), 1 do
			if planets[i].name ~= player.planet then p('{'..planets[i].name..'|'..planets[i].name..'}'..'^') end;
		end;
	end;
	entered = function()
		for i=1, table.maxn(planets), 1 do
			objs():add(xact(planets[i].name, function()
				player.planet = planets[i].name;
				for u=1, table.maxn(planets[i].cities), 1 do
					if planets[i].cities[u].build.spaceport then player.city = planets[i].cities[u].name end;
				end;
			end));
		end;
	end;
};
